package com.macro.mall.portal.service;

import com.macro.mall.portal.domain.ConfirmOrderResults;

/**
 * @Author：尚志豪
 * @Package：com.macro.mall.portal.service
 * @Project：mall-swarm-B
 * @name：SeckillService
 * @Date：2024/11/1 16:12
 */
public interface SeckillService {
    void modifyStock(Long productId, int quantity);

    ConfirmOrderResults seckill(Long productId, Long userId);
}
